package cn.decorator;

/**
 * Created by jt on 2018/3/19.
 */
public class Solt extends AbstractDecorator {
    public Solt(ICooking cooking){
        super(cooking) ;
    }
    public void addSolt(){
        System.out.println("加盐");
    }
    public void vegetables(){
        super.vegetables();
        this.addSolt();
    }
}
